package com.lili.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.lili.pojo.ExamRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lili.pojo.User;
import com.lili.vo.request.troop.QueryReqVO;
import com.lili.vo.request.officer.ToMarkExamReqVO;
import com.lili.vo.response.troop.ChartVO;
import com.lili.vo.response.troop.ExamViewVO;
import com.lili.vo.response.troop.RecordRespVO;
import com.lili.vo.response.officer.ScoreDetailRespVO;
import com.lili.vo.response.officer.ToMarExamRecordRespVO;

import java.util.List;


public interface ExamRecordService extends IService<ExamRecord> {

    IPage<RecordRespVO> selectPageList(QueryReqVO vo);

    ExamViewVO selectExamView(Integer examId, Integer userId);

    List<ScoreDetailRespVO> selectScoreList(Integer examId, Integer classesId);

    IPage<ToMarExamRecordRespVO> selectToMarkPageList(ToMarkExamReqVO vo);

    ChartVO selectIndexChart(User user);

    ExamViewVO selectRecordById(Integer id);

    void correct(ExamViewVO vo);
}
